package com.yhp.bean;

import java.util.Date;

public class Student {
    private Integer stuid;
    private String stuname;
    private String stuno;
    private Integer sex;//0为女1为男
    private String phone;
    private String email;
    private String registered;//户口
    private String address;
    private String profession;
    private String idNumber;//身份证号  唯一约束
    private String politics;//政治面貌
    private Date regdate;//登记时间
    private Integer state;//状态 0在校 1删除
    private String introduction;
    private Integer gid;//班级编号
    private Grade grade;//班级

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    public Integer getStuid() {
        return stuid;
    }

    public void setStuid(Integer stuid) {
        this.stuid = stuid;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getStuno() {
        return stuno;
    }

    public void setStuno(String stuno) {
        this.stuno = stuno;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRegistered() {
        return registered;
    }

    public void setRegistered(String registered) {
        this.registered = registered;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getPolitics() {
        return politics;
    }

    public void setPolitics(String politics) {
        this.politics = politics;
    }

    public Date getRegdate() {
        return regdate;
    }

    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Student() {
    }

    public Student(Integer stuid, String stuname, String stuno, Integer sex, String phone, String email, String registered, String address, String profession, String idNumber, String politics, Date regdate, Integer state, String introduction, Integer gid, Grade grade) {
        this.stuid = stuid;
        this.stuname = stuname;
        this.stuno = stuno;
        this.sex = sex;
        this.phone = phone;
        this.email = email;
        this.registered = registered;
        this.address = address;
        this.profession = profession;
        this.idNumber = idNumber;
        this.politics = politics;
        this.regdate = regdate;
        this.state = state;
        this.introduction = introduction;
        this.gid = gid;
        this.grade = grade;
    }

    public Student(Integer stuid, String stuname, String stuno, Integer sex, String phone, String email, String registered, String address, String profession, String idNumber, String politics, String introduction, Integer gid) {
        this.stuid = stuid;
        this.stuname = stuname;
        this.stuno = stuno;
        this.sex = sex;
        this.phone = phone;
        this.email = email;
        this.registered = registered;
        this.address = address;
        this.profession = profession;
        this.idNumber = idNumber;
        this.politics = politics;
        this.introduction = introduction;
        this.gid = gid;
    }
}
